﻿using Microsoft.Practices.Prism.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using Controls.Models;

namespace CWM.Client.ViewModels
{
    public class MainTabItemViewModel : NotificationObject
    {
        private bool _isActive = false;

        public bool IsActive
        {
            get { return _isActive; }
            set
            {
                _isActive = value;
                this.RaisePropertyChanged("IsActive");
            }
        }


        private MainMenuItemModel _data;
        public MainMenuItemModel Data
        {
            get { return _data; }
            set
            {
                _data = value;
                this.RaisePropertyChanged("Data");
            }
        }

        private Frame _frame;
        public Frame Frame
        {
            get { return _frame; }
            set
            {
                _frame = value;
                this.RaisePropertyChanged("Frame");
            }
        }

        override
        public string ToString()
        {
            return this.Data.ToString();
        }
    }
}
